﻿using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HECore.Common.Entitys
{
    /// <summary>
    /// 账号删除
    /// </summary>
    public class AccountDeletionAudited : AccountModifiedAudited
    {
        /// <summary>
        /// 是否逻辑删除
        /// </summary>
        [Comment("是否逻辑删除")]
        public bool IsDelete { get; set; }

        /// <summary>
        /// 删除人
        /// </summary>
        [Comment("删除人")]
        public Guid? DeleterAccountId { get; set; }

        /// <summary>
        /// 删除时间
        /// </summary>
        [Comment("删除时间")]
        [Column(TypeName = "datetime")]
        public DateTime? DeletionTime { get; set; }
    }
}
